<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<title>Windows Interface Reference: Rectangle structure</title>
</head>

<body>

<h1>Rectangle </h1>

<p>The Rectangle structure contains functions to compute with rectangles.</p>

<pre>structure Rectangle :
  sig
  	type POINT = { x: int, y: int }
	type RECT = { top: int, left: int, bottom: int, right: int }

    val EqualRect : RECT * RECT -&gt; bool
    val InflateRect : RECT * int * int -&gt; unit * RECT
    val IntersectRect : RECT * RECT -&gt; bool * RECT
    val IsRectEmpty : RECT -&gt; bool
    val OffsetRect : RECT * int * int -&gt; RECT
    val PtInRect : RECT * POINT -&gt; bool
    val SetRect : int * int * int * int -&gt; RECT
    val SetRectEmpty : unit -&gt; RECT
    val SubtractRect : RECT * RECT -&gt; RECT
    val UnionRect : RECT * RECT -&gt; RECT
  end</pre>
</body>
</html>
